package com.ynet.middleground.user.bean;

import com.ynet.core.common.BaseReqObj;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

/**
 * @program: 2019-10-12_userCenter
 * @description: 随机打款金额校验
 * @author: DaiGaoLe
 * @create: 2019-11-13 16:18
 **/
@Data
@ApiModel(value = "随机打款金额校验", description = "随机打款金额校验")
public class VerifyRandomAmountReq extends BaseReqObj {


    private static final long serialVersionUID = -1557971422920608565L;
    /**
     * 认证流程Id
     */
    @NotEmpty(message = "认证流程Id不能为空")
    @ApiModelProperty(value = "认证流程Id", notes = "认证流程Id", dataType = "String", required = true)
    private String flowId;

    /**
     * 对公账号收到的随机金额数值（0.01-0.99之间）
     */
    @ApiModelProperty(value = "对公账号收到的随机金额数值（0.01-0.99之间）", notes = "对公账号收到的随机金额数值（0.01-0.99之间）", dataType = "java.math.BigDecimal", required = true)
    @NotNull(message = "对公账号收到的随机金额数值不能为空")
    private BigDecimal amount;


}
